Integrand size = 24, antiderivative size = 310 \[ \int \frac {\arctan (a x)^2}{x \left (c+a^2 c x^2\right )^{3/2}} \, dx=-\frac {2}{c \sqrt {c+a^2 c x^2}}-\frac {2 a x \arctan (a x)}{c \sqrt {c+a^2 c x^2}}+\frac {\arctan (a x)^2}{c \sqrt {c+a^2 c x^2}}-\frac {2 \sqrt {1+a^2 x^2} \arctan (a x)^2 \text {arctanh}\left (e^{i \arctan (a x)}\right )}{c \sqrt {c+a^2 c x^2}}+\frac {2 i \sqrt {1+a^2 x^2} \arctan (a x) \operatorname {PolyLog}\left (2,-e^{i \arctan (a x)}\right )}{c \sqrt {c+a^2 c x^2}}-\frac {2 i \sqrt {1+a^2 x^2} \arctan (a x) \operatorname {PolyLog}\left (2,e^{i \arctan (a x)}\right )}{c \sqrt {c+a^2 c x^2}}-\frac {2 \sqrt {1+a^2 x^2} \operatorname {PolyLog}\left (3,-e^{i \arctan (a x)}\right )}{c \sqrt {c+a^2 c x^2}}+\frac {2 \sqrt {1+a^2 x^2} \operatorname {PolyLog}\left (3,e^{i \arctan (a x)}\right )}{c \sqrt {c+a^2 c x^2}} \]
-2/c/(a^2*c*x^2+c)^(1/2)-2*a*x*arctan(a*x)/c/(a^2*c*x^2+c)^(1/2)+arctan(a* x)^2/c/(a^2*c*x^2+c)^(1/2)-2*arctan(a*x)^2*arctanh((1+I*a*x)/(a^2*x^2+1)^( 1/2))*(a^2*x^2+1)^(1/2)/c/(a^2*c*x^2+c)^(1/2)+2*I*arctan(a*x)*polylog(2,-( 1+I*a*x)/(a^2*x^2+1)^(1/2))*(a^2*x^2+1)^(1/2)/c/(a^2*c*x^2+c)^(1/2)-2*I*ar ctan(a*x)*polylog(2,(1+I*a*x)/(a^2*x^2+1)^(1/2))*(a^2*x^2+1)^(1/2)/c/(a^2* c*x^2+c)^(1/2)-2*polylog(3,-(1+I*a*x)/(a^2*x^2+1)^(1/2))*(a^2*x^2+1)^(1/2) /c/(a^2*c*x^2+c)^(1/2)+2*polylog(3,(1+I*a*x)/(a^2*x^2+1)^(1/2))*(a^2*x^2+1 )^(1/2)/c/(a^2*c*x^2+c)^(1/2)
Time = 0.31 (sec) , antiderivative size = 204, normalized size of antiderivative = 0.66 \[ \int \frac {\arctan (a x)^2}{x \left (c+a^2 c x^2\right )^{3/2}} \, dx=\frac {\sqrt {1+a^2 x^2} \left (-\frac {2}{\sqrt {1+a^2 x^2}}-\frac {2 a x \arctan (a x)}{\sqrt {1+a^2 x^2}}+\frac {\arctan (a x)^2}{\sqrt {1+a^2 x^2}}+\arctan (a x)^2 \log \left (1-e^{i \arctan (a x)}\right )-\arctan (a x)^2 \log \left (1+e^{i \arctan (a x)}\right )+2 i \arctan (a x) \operatorname {PolyLog}\left (2,-e^{i \arctan (a x)}\right )-2 i \arctan (a x) \operatorname {PolyLog}\left (2,e^{i \arctan (a x)}\right )-2 \operatorname {PolyLog}\left (3,-e^{i \arctan (a x)}\right )+2 \operatorname {PolyLog}\left (3,e^{i \arctan (a x)}\right )\right )}{c \sqrt {c \left (1+a^2 x^2\right )}} \]
(Sqrt[1 + a^2*x^2]*(-2/Sqrt[1 + a^2*x^2] - (2*a*x*ArcTan[a*x])/Sqrt[1 + a^ 2*x^2] + ArcTan[a*x]^2/Sqrt[1 + a^2*x^2] + ArcTan[a*x]^2*Log[1 - E^(I*ArcT an[a*x])] - ArcTan[a*x]^2*Log[1 + E^(I*ArcTan[a*x])] + (2*I)*ArcTan[a*x]*P olyLog[2, -E^(I*ArcTan[a*x])] - (2*I)*ArcTan[a*x]*PolyLog[2, E^(I*ArcTan[a *x])] - 2*PolyLog[3, -E^(I*ArcTan[a*x])] + 2*PolyLog[3, E^(I*ArcTan[a*x])] ))/(c*Sqrt[c*(1 + a^2*x^2)])
Time = 1.38 (sec) , antiderivative size = 214, normalized size of antiderivative = 0.69, number of steps used = 11, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.417, Rules used = {5501, 5465, 5429, 5493, 5491, 3042, 4671, 3011, 2720, 7143}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\arctan (a x)^2}{x \left (a^2 c x^2+c\right )^{3/2}} \, dx\) |
\(\Big \downarrow \) 5501 |
\(\displaystyle \frac {\int \frac {\arctan (a x)^2}{x \sqrt {a^2 c x^2+c}}dx}{c}-a^2 \int \frac {x \arctan (a x)^2}{\left (a^2 c x^2+c\right )^{3/2}}dx\) |
\(\Big \downarrow \) 5465 |
\(\displaystyle \frac {\int \frac {\arctan (a x)^2}{x \sqrt {a^2 c x^2+c}}dx}{c}-a^2 \left (\frac {2 \int \frac {\arctan (a x)}{\left (a^2 c x^2+c\right )^{3/2}}dx}{a}-\frac {\arctan (a x)^2}{a^2 c \sqrt {a^2 c x^2+c}}\right )\) |
\(\Big \downarrow \) 5429 |
\(\displaystyle \frac {\int \frac {\arctan (a x)^2}{x \sqrt {a^2 c x^2+c}}dx}{c}-a^2 \left (\frac {2 \left (\frac {x \arctan (a x)}{c \sqrt {a^2 c x^2+c}}+\frac {1}{a c \sqrt {a^2 c x^2+c}}\right )}{a}-\frac {\arctan (a x)^2}{a^2 c \sqrt {a^2 c x^2+c}}\right )\) |
\(\Big \downarrow \) 5493 |
\(\displaystyle \frac {\sqrt {a^2 x^2+1} \int \frac {\arctan (a x)^2}{x \sqrt {a^2 x^2+1}}dx}{c \sqrt {a^2 c x^2+c}}-a^2 \left (\frac {2 \left (\frac {x \arctan (a x)}{c \sqrt {a^2 c x^2+c}}+\frac {1}{a c \sqrt {a^2 c x^2+c}}\right )}{a}-\frac {\arctan (a x)^2}{a^2 c \sqrt {a^2 c x^2+c}}\right )\) |
\(\Big \downarrow \) 5491 |
\(\displaystyle \frac {\sqrt {a^2 x^2+1} \int \frac {\sqrt {a^2 x^2+1} \arctan (a x)^2}{a x}d\arctan (a x)}{c \sqrt {a^2 c x^2+c}}-a^2 \left (\frac {2 \left (\frac {x \arctan (a x)}{c \sqrt {a^2 c x^2+c}}+\frac {1}{a c \sqrt {a^2 c x^2+c}}\right )}{a}-\frac {\arctan (a x)^2}{a^2 c \sqrt {a^2 c x^2+c}}\right )\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \frac {\sqrt {a^2 x^2+1} \int \arctan (a x)^2 \csc (\arctan (a x))d\arctan (a x)}{c \sqrt {a^2 c x^2+c}}-a^2 \left (\frac {2 \left (\frac {x \arctan (a x)}{c \sqrt {a^2 c x^2+c}}+\frac {1}{a c \sqrt {a^2 c x^2+c}}\right )}{a}-\frac {\arctan (a x)^2}{a^2 c \sqrt {a^2 c x^2+c}}\right )\) |
\(\Big \downarrow \) 4671 |
\(\displaystyle -a^2 \left (\frac {2 \left (\frac {x \arctan (a x)}{c \sqrt {a^2 c x^2+c}}+\frac {1}{a c \sqrt {a^2 c x^2+c}}\right )}{a}-\frac {\arctan (a x)^2}{a^2 c \sqrt {a^2 c x^2+c}}\right )+\frac {\sqrt {a^2 x^2+1} \left (-2 \int \arctan (a x) \log \left (1-e^{i \arctan (a x)}\right )d\arctan (a x)+2 \int \arctan (a x) \log \left (1+e^{i \arctan (a x)}\right )d\arctan (a x)-2 \arctan (a x)^2 \text {arctanh}\left (e^{i \arctan (a x)}\right )\right )}{c \sqrt {a^2 c x^2+c}}\) |
\(\Big \downarrow \) 3011 |
\(\displaystyle -a^2 \left (\frac {2 \left (\frac {x \arctan (a x)}{c \sqrt {a^2 c x^2+c}}+\frac {1}{a c \sqrt {a^2 c x^2+c}}\right )}{a}-\frac {\arctan (a x)^2}{a^2 c \sqrt {a^2 c x^2+c}}\right )+\frac {\sqrt {a^2 x^2+1} \left (2 \left (i \arctan (a x) \operatorname {PolyLog}\left (2,-e^{i \arctan (a x)}\right )-i \int \operatorname {PolyLog}\left (2,-e^{i \arctan (a x)}\right )d\arctan (a x)\right )-2 \left (i \arctan (a x) \operatorname {PolyLog}\left (2,e^{i \arctan (a x)}\right )-i \int \operatorname {PolyLog}\left (2,e^{i \arctan (a x)}\right )d\arctan (a x)\right )-2 \arctan (a x)^2 \text {arctanh}\left (e^{i \arctan (a x)}\right )\right )}{c \sqrt {a^2 c x^2+c}}\) |
\(\Big \downarrow \) 2720 |
\(\displaystyle -a^2 \left (\frac {2 \left (\frac {x \arctan (a x)}{c \sqrt {a^2 c x^2+c}}+\frac {1}{a c \sqrt {a^2 c x^2+c}}\right )}{a}-\frac {\arctan (a x)^2}{a^2 c \sqrt {a^2 c x^2+c}}\right )+\frac {\sqrt {a^2 x^2+1} \left (2 \left (i \arctan (a x) \operatorname {PolyLog}\left (2,-e^{i \arctan (a x)}\right )-\int e^{-i \arctan (a x)} \operatorname {PolyLog}\left (2,-e^{i \arctan (a x)}\right )de^{i \arctan (a x)}\right )-2 \left (i \arctan (a x) \operatorname {PolyLog}\left (2,e^{i \arctan (a x)}\right )-\int e^{-i \arctan (a x)} \operatorname {PolyLog}\left (2,e^{i \arctan (a x)}\right )de^{i \arctan (a x)}\right )-2 \arctan (a x)^2 \text {arctanh}\left (e^{i \arctan (a x)}\right )\right )}{c \sqrt {a^2 c x^2+c}}\) |
\(\Big \downarrow \) 7143 |
\(\displaystyle -a^2 \left (\frac {2 \left (\frac {x \arctan (a x)}{c \sqrt {a^2 c x^2+c}}+\frac {1}{a c \sqrt {a^2 c x^2+c}}\right )}{a}-\frac {\arctan (a x)^2}{a^2 c \sqrt {a^2 c x^2+c}}\right )+\frac {\sqrt {a^2 x^2+1} \left (-2 \arctan (a x)^2 \text {arctanh}\left (e^{i \arctan (a x)}\right )+2 \left (i \arctan (a x) \operatorname {PolyLog}\left (2,-e^{i \arctan (a x)}\right )-\operatorname {PolyLog}\left (3,-e^{i \arctan (a x)}\right )\right )-2 \left (i \arctan (a x) \operatorname {PolyLog}\left (2,e^{i \arctan (a x)}\right )-\operatorname {PolyLog}\left (3,e^{i \arctan (a x)}\right )\right )\right )}{c \sqrt {a^2 c x^2+c}}\) |
-(a^2*(-(ArcTan[a*x]^2/(a^2*c*Sqrt[c + a^2*c*x^2])) + (2*(1/(a*c*Sqrt[c + a^2*c*x^2]) + (x*ArcTan[a*x])/(c*Sqrt[c + a^2*c*x^2])))/a)) + (Sqrt[1 + a^ 2*x^2]*(-2*ArcTan[a*x]^2*ArcTanh[E^(I*ArcTan[a*x])] + 2*(I*ArcTan[a*x]*Pol yLog[2, -E^(I*ArcTan[a*x])] - PolyLog[3, -E^(I*ArcTan[a*x])]) - 2*(I*ArcTa n[a*x]*PolyLog[2, E^(I*ArcTan[a*x])] - PolyLog[3, E^(I*ArcTan[a*x])])))/(c *Sqrt[c + a^2*c*x^2])
3.4.43.3.1 Defintions of rubi rules used
Int[u_, x_Symbol] :> With[{v = FunctionOfExponential[u, x]}, Simp[v/D[v, x] Subst[Int[FunctionOfExponentialFunction[u, x]/x, x], x, v], x]] /; Funct ionOfExponentialQ[u, x] && !MatchQ[u, (w_)*((a_.)*(v_)^(n_))^(m_) /; FreeQ [{a, m, n}, x] && IntegerQ[m*n]] && !MatchQ[u, E^((c_.)*((a_.) + (b_.)*x)) *(F_)[v_] /; FreeQ[{a, b, c}, x] && InverseFunctionQ[F[x]]]
Int[Log[1 + (e_.)*((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.)]*((f_.) + (g_.) *(x_))^(m_.), x_Symbol] :> Simp[(-(f + g*x)^m)*(PolyLog[2, (-e)*(F^(c*(a + b*x)))^n]/(b*c*n*Log[F])), x] + Simp[g*(m/(b*c*n*Log[F])) Int[(f + g*x)^( m - 1)*PolyLog[2, (-e)*(F^(c*(a + b*x)))^n], x], x] /; FreeQ[{F, a, b, c, e , f, g, n}, x] && GtQ[m, 0]
Int[csc[(e_.) + (f_.)*(x_)]*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[- 2*(c + d*x)^m*(ArcTanh[E^(I*(e + f*x))]/f), x] + (-Simp[d*(m/f) Int[(c + d*x)^(m - 1)*Log[1 - E^(I*(e + f*x))], x], x] + Simp[d*(m/f) Int[(c + d*x )^(m - 1)*Log[1 + E^(I*(e + f*x))], x], x]) /; FreeQ[{c, d, e, f}, x] && IG tQ[m, 0]
Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))/((d_) + (e_.)*(x_)^2)^(3/2), x_Symbo l] :> Simp[b/(c*d*Sqrt[d + e*x^2]), x] + Simp[x*((a + b*ArcTan[c*x])/(d*Sqr t[d + e*x^2])), x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[e, c^2*d]
Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*(x_)*((d_) + (e_.)*(x_)^2)^(q_ .), x_Symbol] :> Simp[(d + e*x^2)^(q + 1)*((a + b*ArcTan[c*x])^p/(2*e*(q + 1))), x] - Simp[b*(p/(2*c*(q + 1))) Int[(d + e*x^2)^q*(a + b*ArcTan[c*x]) ^(p - 1), x], x] /; FreeQ[{a, b, c, d, e, q}, x] && EqQ[e, c^2*d] && GtQ[p, 0] && NeQ[q, -1]
Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_)/((x_)*Sqrt[(d_) + (e_.)*(x_)^2] ), x_Symbol] :> Simp[1/Sqrt[d] Subst[Int[(a + b*x)^p*Csc[x], x], x, ArcTa n[c*x]], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[e, c^2*d] && IGtQ[p, 0] && GtQ[d, 0]
Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)/((x_)*Sqrt[(d_) + (e_.)*(x_)^2 ]), x_Symbol] :> Simp[Sqrt[1 + c^2*x^2]/Sqrt[d + e*x^2] Int[(a + b*ArcTan [c*x])^p/(x*Sqrt[1 + c^2*x^2]), x], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[ e, c^2*d] && IGtQ[p, 0] && !GtQ[d, 0]
Int[((a_.) + ArcTan[(c_.)*(x_)]*(b_.))^(p_.)*(x_)^(m_)*((d_) + (e_.)*(x_)^2 )^(q_), x_Symbol] :> Simp[1/d Int[x^m*(d + e*x^2)^(q + 1)*(a + b*ArcTan[c *x])^p, x], x] - Simp[e/d Int[x^(m + 2)*(d + e*x^2)^q*(a + b*ArcTan[c*x]) ^p, x], x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[e, c^2*d] && IntegersQ[p, 2* q] && LtQ[q, -1] && ILtQ[m, 0] && NeQ[p, -1]
Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_S ymbol] :> Simp[PolyLog[n + 1, c*(a + b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d , e, n, p}, x] && EqQ[b*d, a*e]
Time = 1.36 (sec) , antiderivative size = 307, normalized size of antiderivative = 0.99
method | result | size |
default | \(\frac {\left (\arctan \left (a x \right )^{2}-2+2 i \arctan \left (a x \right )\right ) \left (i a x +1\right ) \sqrt {c \left (a x -i\right ) \left (a x +i\right )}}{2 \left (a^{2} x^{2}+1\right ) c^{2}}-\frac {\sqrt {c \left (a x -i\right ) \left (a x +i\right )}\, \left (i a x -1\right ) \left (\arctan \left (a x \right )^{2}-2-2 i \arctan \left (a x \right )\right )}{2 \left (a^{2} x^{2}+1\right ) c^{2}}-\frac {\left (\arctan \left (a x \right )^{2} \ln \left (\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}+1\right )-\arctan \left (a x \right )^{2} \ln \left (1-\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )-2 i \arctan \left (a x \right ) \operatorname {polylog}\left (2, -\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )+2 i \arctan \left (a x \right ) \operatorname {polylog}\left (2, \frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )+2 \operatorname {polylog}\left (3, -\frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )-2 \operatorname {polylog}\left (3, \frac {i a x +1}{\sqrt {a^{2} x^{2}+1}}\right )\right ) \sqrt {c \left (a x -i\right ) \left (a x +i\right )}}{\sqrt {a^{2} x^{2}+1}\, c^{2}}\) | \(307\) |
1/2*(arctan(a*x)^2-2+2*I*arctan(a*x))*(1+I*a*x)*(c*(a*x-I)*(I+a*x))^(1/2)/ (a^2*x^2+1)/c^2-1/2*(c*(a*x-I)*(I+a*x))^(1/2)*(I*a*x-1)*(arctan(a*x)^2-2-2 *I*arctan(a*x))/(a^2*x^2+1)/c^2-(arctan(a*x)^2*ln((1+I*a*x)/(a^2*x^2+1)^(1 /2)+1)-arctan(a*x)^2*ln(1-(1+I*a*x)/(a^2*x^2+1)^(1/2))-2*I*arctan(a*x)*pol ylog(2,-(1+I*a*x)/(a^2*x^2+1)^(1/2))+2*I*arctan(a*x)*polylog(2,(1+I*a*x)/( a^2*x^2+1)^(1/2))+2*polylog(3,-(1+I*a*x)/(a^2*x^2+1)^(1/2))-2*polylog(3,(1 +I*a*x)/(a^2*x^2+1)^(1/2)))*(c*(a*x-I)*(I+a*x))^(1/2)/(a^2*x^2+1)^(1/2)/c^ 2
\[ \int \frac {\arctan (a x)^2}{x \left (c+a^2 c x^2\right )^{3/2}} \, dx=\int { \frac {\arctan \left (a x\right )^{2}}{{\left (a^{2} c x^{2} + c\right )}^{\frac {3}{2}} x} \,d x } \]
\[ \int \frac {\arctan (a x)^2}{x \left (c+a^2 c x^2\right )^{3/2}} \, dx=\int \frac {\operatorname {atan}^{2}{\left (a x \right )}}{x \left (c \left (a^{2} x^{2} + 1\right )\right )^{\frac {3}{2}}}\, dx \]
\[ \int \frac {\arctan (a x)^2}{x \left (c+a^2 c x^2\right )^{3/2}} \, dx=\int { \frac {\arctan \left (a x\right )^{2}}{{\left (a^{2} c x^{2} + c\right )}^{\frac {3}{2}} x} \,d x } \]
\[ \int \frac {\arctan (a x)^2}{x \left (c+a^2 c x^2\right )^{3/2}} \, dx=\int { \frac {\arctan \left (a x\right )^{2}}{{\left (a^{2} c x^{2} + c\right )}^{\frac {3}{2}} x} \,d x } \]
Timed out. \[ \int \frac {\arctan (a x)^2}{x \left (c+a^2 c x^2\right )^{3/2}} \, dx=\int \frac {{\mathrm {atan}\left (a\,x\right )}^2}{x\,{\left (c\,a^2\,x^2+c\right )}^{3/2}} \,d x \]